package com.lagou.model;

import java.io.Serializable;

public class StudentMessage implements Serializable {
    private static final long serialVersionUID = 1107852056473928357L;
    private String type;
    private Student stu;

    public StudentMessage() {
    }

    public StudentMessage(String type, Student stu) {
        this.type = type;
        this.stu = stu;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Student getStu() {
        return stu;
    }

    public void setStu(Student stu) {
        this.stu = stu;
    }

    @Override
    public String toString() {
        return "StudentMessage{" +
                "type='" + type + '\'' +
                ", stu=" + stu +
                '}';
    }
}
